import Vue from 'vue'
import App from './App.vue'
//默认样式
import "/static/css/reset.css"
//阿里巴巴图标
import "/static/iconfont/iconfont.css"
//引入VueRouter
import VueRouter from 'vue-router'
//引入路由器
import router from './router'
import store from './store'
//应用插件
Vue.use(VueRouter)
// use
Vue.config.productionTip = false

export default new Vue({
    render: h => h(App),
    router: router,
    store: store,
    beforeCreate() {
        //安装全局事件总线
        Vue.prototype.$bus = this
    },
}).$mount('#app')

